# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-menus
pkgver=3.36.0
pkgrel=0
pkgdesc="Library for the Desktop Menu Specification"
arch="all"
url="https://gitlab.gnome.org/GNOME/gnome-menus"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="gobject-introspection intltool glib-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="http://ftp.gnome.org/pub/gnome/sources/gnome-menus/${pkgver%.*}/gnome-menus-$pkgver.tar.xz"
options="!check" # No test suite

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="e830e66639c2b6aebecf572188208d33b1515270e69af3f2c6f7a640d305a7b9c2bce10e5f520b3da1dea681b194fd14c551468ea5747aa333e649b5c46774e4  gnome-menus-3.36.0.tar.xz"
